package com.jt.www.dao.mapper.market;

import com.jt.www.dao.BaseMapper;
import com.jt.www.domain.po.CommissionProduct;
import com.jt.www.domain.qo.CommissionQO;
import com.jt.www.domain.vo.CommissionVO;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface CommissionMapper extends BaseMapper<CommissionProduct> {

    /**
     * 查询佣金信息
     *
     * @param commissionQO
     * @return
     */
    List<CommissionVO> selectCommissionList(CommissionQO commissionQO);

    /**
     * 查询佣金总数
     *
     * @param commissionQO
     * @return
     */
    Integer selectCommissionListCount(CommissionQO commissionQO);
}
